<template>
  <el-row :span="24">
    <el-col :span="6">
      值:{{form}}<br />
      <avue-date v-model="form"
                 format="YYYY年MM月DD日"
                 value-format="YYYY-MM-DD"
                 placeholder="请选择日期"></avue-date>
      <el-col :span="24"></el-col>
    </el-col>
    <el-col :span="24"></el-col>
    <el-col :span="6">
      值:{{form1}}<br />
      <avue-date v-model="form1"
                 type="datetime"
                 format="YYYY年MM月DD日 HH:mm:ss"
                 value-format="YYYY-MM-DD HH:mm:ss"
                 placeholder="请选择日期"></avue-date>
    </el-col>
  </el-row>
</template>
<script>
export default {
  data () {
    return {
      form: '2020-01-01',
      form1: '2020-01-01 12:00:00'
    }
  }
}
</script>